package gui.Teacher;
import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JFrame;
import javax.swing.JButton;
import java.awt.Rectangle;
import javax.swing.*;
import javax.swing.border.TitledBorder;

import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.Font;
import java.awt.SystemColor;

public class StatisticsGui extends JPanel {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5711467248095624983L;
	private JTextField textField;
	public JButton btnSubmit = new JButton("Submit");
	public JButton btnBack = new JButton("Back");
	
	
	
	public StatisticsGui() {
	    super();
	    setBackground(SystemColor.activeCaption);
		initialize();
}


private void initialize() {
	
	this.setSize(500, 500);
	this.setLayout(null);
	setBorder(new TitledBorder(null, "Statistic Review", TitledBorder.LEADING, TitledBorder.TOP, null, null));
	JLabel lblChooseSubject = new JLabel("Choose Subject");
	lblChooseSubject.setHorizontalAlignment(SwingConstants.CENTER);
	lblChooseSubject.setFont(new Font("Tahoma", Font.PLAIN, 14));
	lblChooseSubject.setBounds(27, 51, 123, 22);
	add(lblChooseSubject);
	
	JComboBox comboBox = new JComboBox();
	comboBox.setBounds(174, 54, 86, 20);
	add(comboBox);
	
	JLabel lblExamId = new JLabel(" Exam ID");
	lblExamId.setFont(new Font("Tahoma", Font.PLAIN, 14));
	lblExamId.setHorizontalAlignment(SwingConstants.CENTER);
	lblExamId.setBounds(27, 105, 96, 14);
	add(lblExamId);
	
	textField = new JTextField();
	textField.setBounds(174, 104, 86, 20);
	add(textField);
	textField.setColumns(10);
	
	
	btnSubmit.setBounds(80, 213, 89, 23);
	add(btnSubmit);
	
	
	btnBack.setBounds(213, 213, 89, 23);
	add(btnBack);
	
	
}
}

